package com.example.prison.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 *
 * @TableName alarm_record
 */
@TableName(value ="alarm_record")
@Data
public class AlarmRecord implements Serializable {
    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 防区段编号
     */
    @TableField(value = "number")
    private String number;

    /**
     * 报警时间
     */
    @TableField(value = "time")
    private String time;

    /**
     * 报警等级
     */
    @TableField(value = "level")
    private String level;

    /**
     * 警情状态（断路/短路/触网）
     */
    @TableField(value = "alarm_status")
    private String alarmStatus;

    /**
     * 是否处理（未处理/已处理/已推送）
     */
    @TableField(value = "solve")
    private String solve;

    /**
     * 处理人
     */
    @TableField(value = "process_people")
    private String processPeople;

    /**
     * 处理时间
     */
    @TableField(value = "process_time")
    private String processTime;

    /**
     * 报警设备编号
     */
    @TableField(value = "device")
    private String device;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
